package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dtos.ApArticleHomeDTO;
import com.heima.model.article.pojos.ApArticle;
import org.apache.ibatis.annotations.Param;
import org.checkerframework.checker.units.qual.A;

import java.util.List;

public interface ApArticleMapper extends BaseMapper<ApArticle> {

    /**
     * APP 端-首页展示-文章查询
     * @param apArticleHomeDTO
     * @return
     */
    public List<ApArticle> findApArticleByChannel(@Param("apArticleHomeDTO") ApArticleHomeDTO apArticleHomeDTO);

}
